package com.singzi.leetcode.N100;

public class T0028 {

    public static void main(String[] args) {
        String s1 = "aaa";
        String s2 = "aaa";
        Solution0028 solution0028 = new Solution0028();
        System.out.println(solution0028.strStr(s1, s2));
    }
}
class Solution0028 {
    public int strStr(String haystack, String needle) {
        return haystack.indexOf(needle);
    }
}